<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登录聚美</title>
		<link rel="stylesheet" type="text/css" href="http://127.0.0.1/jumeiphp/Application/Index/View/Public/css/login.css"/>
    <script type="text/javascript" src="http://127.0.0.1/jumeiphp/Application/Index/View/Public/js/jquery-1.7.2.js"></script>
     <link rel="stylesheet" type="text/css" href="http://127.0.0.1/jumeiphp/Static/hdjs/hdjs.css">
     <script type="text/javascript" src="http://127.0.0.1/jumeiphp/Static/hdjs/hdjs.min.js"></script>
     <script type="text/javascript">
     	$(function(){
     		//#regForm form表单
     		$('form').validate({
     			//表单的name值
 			username_log : {
     						//规则
    		 				rule:{
    		 					//必填
    		 					required : true,
    		 					minlen:1,
    		 				},
    		 				//错误的提示信息
    		 				error:{
    		 					required : '必填',
    		 					minlen:'最短为1个字符',
    		 				
    		 				},
    		 				//成功的提示信息
    		 				success:'正确',
    		 				message:'请填写用户名'
     			},
 			password_log : {
     						//规则
    		 				rule:{
    		 					//必填
    		 					required : true,
    		 					minlen:1,
    		 					
    		 				},
    		 				//错误的提示信息
    		 				error:{
    		 					required : '必填',
    		 					minlen:'最短为1个字符',
    		 					
    		 				},
    		 				//成功的提示信息
    		 				success:'正确',
    		 				message:'请填写密码'
     			}
     		})
     	})
     </script>
	</head>
<body>
	<div class="header_container">
		<div class="logo">
			<a href="http://127.0.0.1/jumeiphp" class="home fl"></a>
			<div class="header_logo_box fr">
				<a class="top_link lightning" href="javascript:;"></a>
				<a class="top_link gild" href="javascript:;"></a>
				<a class="top_link credit" href="javascript:;"></a>
			</div>
		</div>
	</div>
	<div class="sign">
		<div class="loginWrap">
			<div class="loginBoardWrap">
				<div class="loginImage"></div>
				<div class="loginBord">
					<div class="loginTit">
						<div class="tosignup fr">
							还没有聚美账号？
							<a href="<?php echo U('Login/reg');?>">30秒注册</a>
						</div>
						<h1><strong>登录聚美</strong></h1>
					</div>
<!--					<div class="radio_wrapper">
						<span>
	                        <input name="method" rel="login-user-form" value="normal" id="radio_normal" type="radio" checked="checked">
	                        <label for="radio_normal">普通登录</label>
	                    </span>
	                    <span>
	                        <input name="method" rel="login-dynamic-form" value="dynamic" id="radio_dynamic" type="radio">
	                        <label for="radio_dynamic">手机动态密码登录</label>
	                    </span>
					</div>-->
					<form id="login-user-form" action="<?php echo U('Login/index');?>" method="post">
						<div class="textbox_ui">
							<input name="username_log" placeholder="已验证手机/邮箱/用户名" id="username" autofocus="" autocomplete="off" value="" type="text">
					<span id="hd_username_log"><!-- hd验证 --></span>
						</div>
						<div class="textbox_ui">
							<input name="password_log" placeholder="密码" id="login_password" autofocus="" autocomplete="off" value="" type="password">
					<span id="hd_password_log"><!-- hd验证 --></span>
						</div>
						<div class="verityWrap">
							<div class="textbox_ui">
								<input name="code2_log" placeholder="验证码" autocomplete="off" id="verify_code" type="text">
							</div>
							<span id="change_verify_code">
								<img src="<?php echo U('Index/Login/code');?>" alt="" onclick="this.src=this.src+'&'+ Math.random()" />
							
							</span>
						</div>
						<p>
							<label for="auto_login">
                            	<input id="auto_login" name="auto" type="checkbox">&nbsp;7天自动登陆
                        	</label>
						</p>
						<input class="loginbtn submit_btn" value="登 录" style=" display: block;width: 100%;" type="submit">
					</form>
					<div class="shadow_l"></div>
					<div class="shadow_r"></div>
				</div>
			</div>
		</div>
	</div>
				<script type="text/javascript">
					$(function () {
						// 登陆时的图片验证码-点击A刷新
					    var CONTROL = $('img.code2').attr('src');
					    $("a.change").click(function () {
					        var url = CONTROL + "&rand=" + Math.random();
					        $('img.code2').attr("src", url);
					    })
					})
				</script>
	<div class="footer_container">
		<div class="footer_copyright">
			<p class="footer_copy_con">
            Copyright © 2010-2015 北京创锐文化传媒有限公司 Jumei.com 保留一切权利。客服热线：400-123-8888 <br>
            京公网安备 11010102001226 号 | <a href="http://www.miibeian.gov.cn" target="_blank" rel="nofollow">京ICP证111033号</a> | 食品流通许可证 SP1101051110165515（1-1）
            | <a href="http://p2.jmstatic.com/activity/footer_btm_icon.png" target="_blank" rel="nofollow">营业执照</a>
        </p>
		<img src="images/footer_btm_icon.png" alt="" />
		</div>

	</div>
</body>
</html>
